package com.example.rbacmanage.mapper;

import com.example.rbacmanage.base.BaseMapper;
import com.example.rbacmanage.entity.AppUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface AppUserMapper extends BaseMapper<AppUser> {
    public AppUser queryOneByUsername(@Param(value = "userName") String username);

    Integer countByOpenIdOrPhone(@Param("openId") String openId, @Param("phone") String phone);
}
